<!--
 * @Author: licongwei
 * @Date: 2022-03-07 17:22:35
 * @FileDescription: 商超对接
-->
<template>
  <div class="M3">
    <router-view v-slot="{ Component }">
      <transition name="mode-fade">
        <component class="views" :is="Component" />
      </transition>
    </router-view>
  </div>
</template>
<script lang="ts">
import { defineComponent } from 'vue'
export default defineComponent({
  name: 'M3',
  components: {},
  setup() {
    return {}
  }
})
</script>
<style lang="less" scoped>
.views {
  position: absolute;
  top: 0;
  left: 30px;
  z-index: 1;
  width: calc(100% - 60px);
  height: calc(100% - 10px);
}
</style>
